package com.api.shopapi.service.impl;

import com.api.shopapi.mapper.MedicationRecordMapper;
import com.api.shopapi.service.MedicationRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("MedicationRecordServiceImplOne")
public class MedicationRecordServiceImplOne implements MedicationRecordService {

    @Autowired
    private MedicationRecordMapper medicationRecordMapper;
//
//    @Override
//    public
//    int insert(MedicationRecord medicationRecord){
//        return medicationRecordMapper.insert(medicationRecord);
//    }
//
//    @Override
//    public
//    int delete(String medicationRecordCode){
//        return medicationRecordMapper.delete(medicationRecordCode);
//    }
//
//    @Override
//    public
//    int update(MedicationRecord medicationRecord){
//        return medicationRecordMapper.update(medicationRecord);
//    }
//
//    @Override
//    public
//    MedicationRecord getByMedicationRecordCode( String medicationRecordCode){
//        return medicationRecordMapper.getByMedicationRecordCode(medicationRecordCode);
//    }
//
//    @Override
//    public
//    List<MedicationRecord> listByElderlyCode(String elderlyCode){
//        return medicationRecordMapper.listByElderlyCode(elderlyCode);
//    }
//
//    @Override
//    public
//    List<MedicationRecord> listByCarePlaceCode(String carePlaceCode, String startTime, String endTime){
//        return medicationRecordMapper.listByCarePlaceCode(carePlaceCode,startTime,endTime);
//    }

}
